﻿using LJ.EventBus.FastDog.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJ.EventBus.FastDog;

public interface IMessageSerializer
{
    TransportMessage Serialize(Message message);

    Message Deserialize(TransportMessage transportMessage, Type? valueType);
}
